package com.example.back.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Id;

@Data
@TableName("user")
public class User {
    @TableId
//    @TableField("id")
    private String id;

    @TableField("username")
    private String username;

    @TableField("password")
    private String password;
}
